package com.cfs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

import com.didispace.swagger.EnableSwagger2Doc;

/**
 * Created by Administrator on 2017/9/25/025.
 */

@EnableWebMvc
@EnableSwagger2Doc
@ServletComponentScan
@EnableAutoConfiguration
@SpringBootApplication
@EnableTransactionManagement
public class Application extends WebMvcConfigurerAdapter{

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);

    }



}
